package com.design.designmode.struct.decorate;

/**
 * @author hxl
 * @since 2023-04-17
 */
public abstract class Person {

    protected String name;

    public String getName() {
        return name;
    }

    public abstract void operate();  // 职责
}
